import { request } from './request';

export function getMemberCourses(page = 1, page_size = 10) {
  return request({
    url: `/member/courses?page=${page}&page_size=${page_size}`,
  });
}

export function getLikeCourses(page = 1, page_size = 10) {
  return request({
    url: `/member/courses/like?page=${page}&page_size=${page_size}`,
  });
}
